package org.he.auth.mapper;

import org.he.auth.domain.EmployeeRole;
import org.he.auth.domain.Role;
import org.he.auth.dto.EmployeeRoleDTO;
import org.he.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author he
 * @since 2023-12-02
 */
public interface EmployeeRoleMapper extends BaseMapper<EmployeeRole> {

    List<Long> queryRoleById(Long id);

    void saveRole(EmployeeRoleDTO dto);

    void deleteRole(Long id);
}
